package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("admin_roles")
public class AdminRoles implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private String name;

	/**  */
	private String resourceType;

	/**  */
	private Integer resourceId;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public AdminRoles setId(Integer id) {
		this.id = id;
		return this;
	}

	public String getName() {
		return this.name;
	}

	public AdminRoles setName(String name) {
		this.name = name;
		return this;
	}

	public String getResourceType() {
		return this.resourceType;
	}

	public AdminRoles setResourceType(String resourceType) {
		this.resourceType = resourceType;
		return this;
	}

	public Integer getResourceId() {
		return this.resourceId;
	}

	public AdminRoles setResourceId(Integer resourceId) {
		this.resourceId = resourceId;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public AdminRoles setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public AdminRoles setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
